package cn.openea.perpartner.expert.web.domain.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * 专家协作交付表(Delivery)表实体类
 *
 * @author Weird077
 * @since 2023-06-19 11:45:55
 */
@Data
@SuperBuilder
@AllArgsConstructor
@NoArgsConstructor
@TableName("expert_delivery")
public class Delivery implements Serializable {
    private final static long serialVersionUID = 1L;
    @TableId
    private Long deliveryId;
    //单号
    private String taskNumber;
    //子任务序号
    private String subTaskSortNum;
    //内容与要求
    private String contentAndRequire;
    //交付日期
    private String deliveryDate;
    //子任务价格
    private String subTaskPrice;
    //总期数
    private String totalPeriods;
    //退回次数
    private String returnNum;
    //发起人id
    private String initiatorId;
    //发起人姓名
    private String initiatorName;
    //合作者id
    private String partnerId;
    //合作者姓名
    private String partnerName;
    //项目名称
    private String workSubject;
    //预算
    private String budget;
    //付款方式
    private String paymentType;
    //期数状态
    private String periodStatus;
    //付款状态
    private String paymentStatus;
    //项目预计完成日期
    private String workEndDate;
    //交付时间
    private String deliveryTime;
    //验收时间
    private String acceptanceTime;
    //完成时间
    private String finishTime;
    //最终佣金（（调整了满意度后的佣金，即财务放款需要支付的金额）
    private String actualPrice;
    //工作成果
    private String taskResultList;
    //满意度（1-100%）
    private String satisfiedDegree;
    //审批理由（调整了满意度需要填写的理由）
    private String approvalReasons;

    private String createUser;
    @TableField(fill = FieldFill.INSERT)
    private String createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;


}

